package com.sxbbc.common.core.mapper.jz;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.CMoneyDetail;
import com.sxbbc.common.core.utils.BasePage;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 用户金额明细表 Mapper 接口
 * </p>
 *
 * @author leehao
 * @since 2019-05-07
 */
public interface CMoneyDetailMapper extends BaseMapper<CMoneyDetail> {

    IPage<CMoneyDetail> queryCustomerMoneyList(BasePage page, @Param("param") CMoneyDetail money);

    BigDecimal queryCustomerSumMoneyByType(@Param("param") CMoneyDetail money);
}
